package com.sxf.querybean;

import com.sxf.querybean.base.BaseQuery;

public class CommentQuery extends BaseQuery {
	private static final long serialVersionUID = 1L;

	private Long id;
	private Long postId;
	private String author;
	private String authorIp;
	private String approved;
	/**
	 * 是否查询全部
	 */
	private boolean queryAll = true;

	public CommentQuery() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPostId() {
		return postId;
	}

	public void setPostId(Long postId) {
		this.postId = postId;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getAuthorIp() {
		return authorIp;
	}

	public void setAuthorIp(String authorIp) {
		this.authorIp = authorIp;
	}

	public boolean getQueryAll() {
		return queryAll;
	}

	public void setQueryAll(boolean queryAll) {
		this.queryAll = queryAll;
	}

	public String getApproved() {
		return approved;
	}

	public void setApproved(String approved) {
		this.approved = approved;
	}

}
